﻿<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="admin/view/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body background="upload/10082202447e3a23df3e842fe8.jpg">
  <h2 class="text-lift"><a href="admin.php?c=user&m=display">后台首页</a></h2>
  <h3 class="text-right"><a href="admin.php?c=user&m=display">添加动漫</a></h3>
    <div class="container">
      <div class="row">
        <!--这里添加代码-->        <h1 class="text-center">动漫添加</h1>

        <form class="form-horizontal" action="admin.php?c=cartoon&m=add" method="post" enctype="multipart/form-data">

        <form class="form-horizontal" action="index.php?c=cartoon&m=addcartoon" method="post" enctype="multipart/form-data">

          <div class="form-group">
            <label for="name" class="col-md-2 col-xs-3 control-label">动漫名</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="name" placeholder="动漫名" name="name">
            </div>
          </div>

          <div class="form-group">
            <label for="intro" class="col-md-2 col-xs-3 control-label">动漫介绍</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="intro" placeholder="动漫介绍" name="intro">
            </div>
          </div>
           <div class="form-group">
            <label for="size" class="col-md-2 col-xs-3 control-label">动漫大小</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="size" placeholder="动漫大小" name="size">
            </div>
          </div>
          <div class="form-group">
            <label for="tid" class="col-md-2 col-xs-3 control-label">动漫类别</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="tid" placeholder="动漫类别" name="tid">
            </div>
          </div>
          <div class="form-group">

            <label for="uploadtime" class="col-md-2 col-xs-3 control-label">上传时间</label>
            <div class="col-md-10 col-xs-9">
              <input type="date" class="form-control" id="uploadtime" name="uploadtime">

          
            </div>
          </div>
          <div class="form-group">
            <label for="address" class="col-md-2 col-xs-3 control-label">下载地址</label>
            <div class="col-md-10 col-xs-9">
              <input type="text" class="form-control" id="address" placeholder="下载地址" name="address">
            </div>
          </div>
          <!-- <div class="form-group">
            <label for="hint" class="col-md-2 col-xs-3 control-label">点击量</label>
            <div class="col-md-10 col-xs-9">
        <input class="form-control" id="hint" type="text" placeholder="点击量" name="hint"disabled>

            </div>
          </div> -->
<div class="form-group">
            <label for="pic" class="col-md-2 col-xs-3 control-label">动漫图</label>
            <div class="col-md-10 col-xs-9">
        <input class="form-control" id="pic" type="file"  name="pic">

            </div>
          </div>
          <div class="form-group">

            <div class="col-md-10 col-xs-9 col-md-offset-2 col-xs-offset-3">
              <input type="submit" value="添加">
              <input type="reset" value="重置">
            </div>
          </div>

        </form>
      </div>
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>